home *** CD-ROM | disk | FTP | other *** search
/ Oxygen Multimedia Graphics 22 / Oxygen Multimedia Graphics 22.iso / pc / System / OX22 / PDC_155_OpenPPT_CI2.ls < prev    next >
Encoding:
Text File  |  2008-03-12  |  547 b   |  14 lines

  1. global ds, goUp, gList, giNum
  2.  
  3. on mouseUp
  4.   imageName = "i" & giNum
  5.   ArtName = getAt(gList, imageName)
  6.   PPTFile = the moviePath & goUp & "Artwork" & ds & ArtName & ds & ArtName & ".pot"
  7.   OpenIt = baOpenFile(PPTFile, EMPTY)
  8.   if OpenIt > 32 then
  9.     nothing()
  10.   else
  11.     alert("The software required to open the PowerPoint file could not be found. If you don't have PowerPoint, a PowerPoint Viewer is available on this disc in the Extras>Software folder. Or, the file may not open if you aren't running this menu from the CD-ROM.")
  12.   end if
  13. end
  14.